package com.pureut.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.quality.domain.QualityInspection;
import com.pureut.quality.domain.dto.QualityInspectionDto;
import com.pureut.quality.domain.vo.QualityInspectionVo;
import com.pureut.quality.domain.vo.QualitySchemeConfigurationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description
 * @Param
 * @Date
 * @Author hl
 **/
@Mapper
public interface QualityInspectionMapper extends BaseMapper<QualityInspection> {

    /**
     * 查询检验项目
     */
    List<QualityInspectionDto> selectInspectionList(QualityInspectionVo qualityInspectionVo);

    /**
     * 新增检验项目
     */
    int insertInspection(QualityInspectionVo qualityInspectionVo);

    /**
     * 批量删除检验项目
     */
    int deleteInspectionById(String[] itemIdS);

    /**
     * 修改检验项目
     */
    int updateInspectionEdit(QualityInspectionVo qualityInspectionVo);
}
